Adding a Title to Pop-Up Controls

How to:

You can add a title bar and specify a customized title for pop-up controls in an HTML page.

To add a title bar, in the Properties panel, set Display Title Bar to Yes. When Display Title Bar is set to Yes, the Title Text property becomes available. Type a value in this field to display in the pop-up control title bar at run time.

Procedure: How to Add a Title to Pop-Up Controls

  1. Create an HTML page that includes a control object.

    For more information about adding controls, see the App Studio User's Manual.

  2. Change the control to a pop-up control.
    You can do this in one of the following ways:
    • Before adding controls to the page, open the Properties panel. For the DOCUMENT object, set the Create popup controls property to Yes.

      Any controls added to the page are created as pop-up controls.

    • In the New Parameters dialog box, when creating the control, select Popup from the Create control column.
    • Right-click the control and click Popup style.
    Note:
    • Edit boxes, text areas, calendars, and sliders cannot use pop-up styling.
    • Multiselect drop-down controls use pop-up styling, by default.
  3. Select the control, and open the Properties panel. When the control is set to use pop-up styling, the Display Title Bar property becomes available.
  4. Set the Display Title Bar property to Yes.
  5. When the Display Title Bar property is set to Yes, the Title Text property appears. Type the text for the control title into this field, as shown in the following image.

    Properties panel with options to set pop-up control title

    If you leave the Title Text field blank, the unique identifier of the control or the label assigned to the control, if there is one, is used as the title text.

  6. Run the HTML page and click the control.

    The text specified by the Title Text property appears on the control title bar, as shown in the following image.


    Pop-up drop-down list with the title Select a region

WebFOCUS

Feedback